module Hydrocraft
{
    imports
    {
        Base

    }

/************************ITEMS************************/


item HCBooksheetmusic
    {
        Weight    		= 0.5,
        Type    		= Normal,
        DisplayName         	= Book of Sheet Music,
        icon 			= HCBooksheetmusic,
		DisplayCategory	= LitE,
    }

item HCNotebooksheetmusic
    {
        Weight    		= 1,
        Type    		= Normal,
        DisplayName         	= Notebook of Sheet Music,
        icon 			= HCNotebooksheetmusic,
		DisplayCategory	= LitE,
    }

item HCPapersheetmusic
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Sheet Music,
        icon 			= HCPapersheetmusic,
		DisplayCategory	= LitE,
    }


item HCVinylrecord1
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Vinyl Record,
        icon 			= HCVinylrecord1,
		DisplayCategory	= Toy,
    }

item HCVinylrecord2
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Vinyl Record,
        icon 			= HCVinylrecord2,
		DisplayCategory	= Toy,
    }

item HCVinylrecord3
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Vinyl Record,
        icon 			= HCVinylrecord3,
		DisplayCategory	= Toy,
    }

item HCVinylrecord4
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Vinyl Record,
        icon 			= HCVinylrecord4,
		DisplayCategory	= Toy,
    }

item HCVinylrecord5
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Vinyl Record,
        icon 			= HCVinylrecord5,
		DisplayCategory	= Toy,
    }

item HCPhonograph
    {
        Weight    		= 1,
        Type    		= Normal,
        DisplayName         	= Phonograph,
        icon 			= HCPhonograph,
		DisplayCategory	= Toy,
    }

item HCDVD
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= DVD,
        icon 			= HCDVD,
		DisplayCategory	= Useless,
    }

item HCDVDCase
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Empty DVD Case,
        icon 			= HCDVDCase,
		DisplayCategory	= Useless,
    }

item HCDVDPlayer
    {
        Weight    		= 2.0,
        Type    		= Normal,
        DisplayName         	= DVD Player,
        icon 			= HCDVDPlayer,
		DisplayCategory	= Useless,
    }

item HCCDcase
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= Empty CD Case,
        icon 			= HCCDcase,
		DisplayCategory	= Useless,
    }

item HCCDcasefull
    {
        Weight    		= 0.1,
        Type    		= Normal,
        DisplayName         	= CD Case with CD,
        icon 			= HCCDcasefull,
		DisplayCategory	= Useless,
    }

item HCHarmonica
    {
	Weight			=	0.3,
	Type			=	Normal,
	DisplayName		=	Harmonica,
	Icon			=	HCHarmonica,
		DisplayCategory	= Toy,
   }

item HCHarp
    {
	Weight			=	1.0,
	Type			=	Normal,
	DisplayName		=	Harp,
	Icon			=	HCHarp,
	DisplayCategory	= 	Toy,
   }

item HCUkulele
    {
	Weight			=	0.5,
	Type			=	Normal,
	DisplayName		=	Ukulele,
	Icon			=	HCUkulele,
	DisplayCategory	= 	Toy,
   }

item Banjo
    {
        DisplayCategory = Instrument,
        MaxRange	=	1.25,
        WeaponSprite	=	Banjo,
        MinAngle	=	0.75,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	SmallBlunt,
        ConditionLowerChanceOneIn	=	2,
        Weight	=	3,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	3,
        MaxHitCount	=	3,
        DoorDamage	=	5,
        SwingAnim	=	Bat,
        DisplayName	=	Banjo,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Banjo,
        BreakSound  =   BanjoBreak,
        DoorHitSound = BanjoHit,
		HitSound = BanjoHit,
		HitFloorSound = BanjoHit,
		SwingSound = BanjoSwing,
        TreeDamage  =   0,
        CriticalChance	=	5,
        CritDmgMultiplier = 2,
        MinDamage	=	0.3,
        MaxDamage	=	0.6,
        BaseSpeed = 1.1,
        TwoHandWeapon = TRUE,
        AttachmentType = Guitar,
    }

item HCGuitar
    {
	Weight			=	1.0,
	Type			=	Normal,
	DisplayName		=	Guitar,
	Icon			=	HCGuitar,
	DisplayCategory	= 	Toy,
   }

item HCElectricguitar
    {
	Weight			=	1.0,
	Type			=	Normal,
	DisplayName		=	Electric Guitar,
	Icon			=	HCElectricguitar,
	DisplayCategory	= 	CraftElec,
   }

item HCElectricguitarbass
    {
	Weight			=	1.0,
	Type			=	Normal,
	DisplayName		=	Electric Bass Guitar,
	Icon			=	HCElectricguitarbass,
	DisplayCategory	= 	CraftElec,
	
   }

item HCGuitarpick
    {
	Weight			=	0.1,
	Type			=	Normal,
	DisplayName		=	Guitar Pick,
	Icon			=	HCGuitarpick,
	DisplayCategory	= 	Useless,
   }

item HCAmp
    {
	Weight			=	1.5,
	Type			=	Normal,
	DisplayName		=	Amp,
	Icon			=	HCAmp,
	DisplayCategory	= 	CraftElec,
   }

item HCKazoo
    {
	Weight			=	0.1,
	Type			=	Normal,
	DisplayName		=	Kazoo,
	Icon			=	HCKazoo,
	DisplayCategory	= 	Toy,
   }

item HCFlutewood
    {
	Weight			=	0.5,
	Type			=	Normal,
	DisplayName		=	Wood Flute,
	Icon			=	HCFlutewood,
	DisplayCategory	= 	Toy,
   }

item HCClarinet
    {
	Weight			=	0.5,
	Type			=	Normal,
	DisplayName		=	Clarinet,
	Icon			=	HCClarinet,
	DisplayCategory	= 	Toy,
   }

item HCTrombone
    {
	Weight			=	1.5,
	Type			=	Normal,
	DisplayName		=	Trombone,
	Icon			=	HCTrombone,
	DisplayCategory	= 	Toy,
   }

item HCDrumkit
    {
	Weight			=	5.0,
	Type			=	Normal,
	DisplayName		=	Drum Kit,
	Icon			=	HCDrumkit,
	DisplayCategory	= 	Toy,
	
   }

item HCDrum
    {
	Weight			=	1.0,
	Type			=	Normal,
	DisplayName		=	Drum,
	Icon			=	HCDrum,
	DisplayCategory	= 	Toy,
   }

item HCMaracas
    	{
	    DisplayCategory = Instrument,
		SubCategory	=	Swinging,		
		Type		=	Weapon,		
		DisplayName	=	Maraca,	
		Weight	=	0.5,		
		WeaponSprite	=	Hydrocraft.HC_Maraca_AP,
		Icon	=	HCMaracas,		
		MaxRange	=	0.9,		
		MinAngle	=	0.65,
		MinimumSwingTime	=	4,
		KnockBackOnNoDeath	=	FALSE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	Improvised;SmallBlunt,
		ConditionLowerChanceOneIn	=	1,
		SplatNumber	=	1,
		PushBackMod	=	0.3,
		ConditionMax	=	1,
		MaxHitCount	=	2,
		DoorDamage	=	0,
		SwingAnim	=	Bat,
		MinRange	=	0.61,
		SwingTime	=	4,
		KnockdownMod	=	2,
		SplatBloodOnNoDeath	=	FALSE,
        TreeDamage  =   0,
        CriticalChance	=	0,
        MinDamage	=	0.1,
        MaxDamage	=	0.2,
        BaseSpeed = 1.3,		
        BreakSound  =   DrumstickBreak,
        DoorHitSound = DrumstickHit,
		HitSound = DrumstickHit,
		HitFloorSound = DrumstickHit,
		SwingSound = DrumstickSwing,
  	}

item HCCowbell
    {
	Weight			=	0.5,
	Type			=	Normal,
	DisplayName		=	Cow Bell,
	Icon			=	HCCowbell,
	DisplayCategory	= 	Toy,
   }

item HCPiano
    {
	Weight			=	20.0,
	Type			=	Normal,
	DisplayName		=	Piano,
	Icon			=	HCPiano,
	DisplayCategory	= 	Toy,
	
   }

item HCPianogrand
    {
	Weight			=	20.0,
	Type			=	Normal,
	DisplayName		=	Grand Piano,
	Icon			=	HCPianogrand,
	DisplayCategory	= 	Toy,
	
   }

/************************WEAPONS************************/



/************************RECIPES************************/	

recipe Read Music
    {
    	HCBooksheetmusic,
    	NeedToBeLearn:true,
    	Result:HCBooksheetmusic,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Read Music
    {
    	HCNotebooksheetmusic,
    	NeedToBeLearn:true,
    	Result:HCNotebooksheetmusic,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Read Music
    {
    	HCPapersheetmusic,
    	NeedToBeLearn:true,
    	Result:HCPapersheetmusic,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Write Music
    {
    	SheetPaper2,
	Pencil/Pen,
    	NeedToBeLearn:true,
    	Result:HCPapersheetmusic,
    	NeedToBeLearn:true,
    	Time:500,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Write Music
    {
	Notebook,
	Pencil/Pen,
    	NeedToBeLearn:true,
    	Result:HCNotebooksheetmusic,
    	NeedToBeLearn:true,
    	Time:500,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Put CD in Case
    {
    	Disc,
    	HCCDcase,
    	Result:HCCDcasefull,
    	Time:15,
    	Category:Leisure,
    }

recipe Remove CD from Case
    {
    	HCCDcasefull,
    	Result:Disc,
    	Time:15,
    	OnCreate:recipe_hccdcase,
    	Category:Leisure,
    } 

recipe Play Music
    	{
	HCPhonograph,
    	HCVinylrecord1/HCVinylrecord2/HCVinylrecord3/HCVinylrecord4/HCVinylrecord5,
    	Result:HCPhonograph,
    	Time:1000,
    	OnCreate:HC_ToyStatModifier,
   	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    	}

recipe Play Music
    {
    	HCHarmonica,
    	Result:HCHarmonica,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCHarp,
    	Result:HCHarp,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
   	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCUkulele,
    	Result:HCUkulele,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
   	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCGuitar,
    	Result:HCGuitar,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCKazoo,
    	Result:HCKazoo,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCFlutewood,
    	Result:HCFlutewood,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCClarinet,
    	Result:HCClarinet,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	keep Saxophone,
    	Result:Saxophone,
		RemoveResultItem:true,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    {
    	HCTrombone,
    	Result:HCTrombone,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }


recipe Play Music
    {
    	HCDrum,
    	Result:HCDrum,
    	NeedToBeLearn:true,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
    	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    }

recipe Play Music
    	{
    	HCMaracas,
    	Result:HCMaracas,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
   	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    	}

recipe Play Music
    	{
    	HCCowbell,
    	Result:HCCowbell,
    	Time:500,
    	OnCreate:HC_ToyStatModifier,
   	Category:Leisure,
    	OnGiveXP:Recipe.OnGiveXP.None,
    	}

}
